package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description ="特殊事件输入类")
public class EventInputVO {

    @Schema(description = "主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    @Schema(description = "病人识别号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "请输出病人识别号")
    private String patientIdent;

    @Schema(description = "病人住院号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "请输出住院号")
    private String hospitalNumber;

    @Schema(description = "事件发生时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "事件发生时间不能为空")
    private Long eventTime;

    @Schema(description = "事件名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "事件名称不能为空")
    private String eventName;
}
